package pc29;

public class J15Ex04Extends {

}

class A {
	private int n;

	public int getN() {
		return n;
	}

	public void setN(int n) {
		this.n = n;
	}

}

class B extends A {
	public String s;
	public int m;
	private char c;

	public String getS() {
		return s;
	}

	public void setS(String s) {
		this.s = s;
	}

	public int getM() {
		return m;
	}

	public void setM(int m) {
		this.m = m;
	}

	public char getC() {
		return c;
	}

	public void setC(char c) {
		this.c = c;
	}

}

class C extends B {
	public double d;
}